RyuGod
Programming Language Collector
Hello, World!
examples
100 doors
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
'
'   OpenSpin(오픈스핀): Hello, World! 예제
'   바이너리 컴파일만 지원됩니다(Compilation only supported)
'   컴파일된 파일을 다운로드 하려면 "imshow main.spin" 명령을 입력하세요
'   (to download compiled binary file, enter command "imshow main.spin" on the terminal)
'
con
    _clkmode = xtal1+pll16x
    _clkfreq = 80_000_000
obj
    ser : "FullDuplexSerial.spin"
pub init
    ser.start(31, 30, 0, 115200)
    ser.str(string("Hello, World!"))
    ser.str(string(13,10))
    waitcnt(_clkfreq + cnt)
    ser.stop
    cogstop(0)
Enter to Rename, <Shift>+Enter to Preview
TerminalInput valueWebOutput
W